/**
 * 
 */
package dstation.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;

/**
 * @author Evan
 *
 */
public class AddRobotForm implements EntryPoint {

	/* (non-Javadoc)
	 * @see com.google.gwt.core.client.EntryPoint#onModuleLoad()
	 */
	@Override
	public void onModuleLoad() {
		RootPanel rootPanel = RootPanel.get();
		
		Grid grid = new Grid(1, 2);
		rootPanel.add(grid, 0, 0);
		grid.setSize("128px", "66px");
		
		Label lblRobotName = new Label("Robot Name:");
		grid.setWidget(0, 0, lblRobotName);
		
		TextBox textBox = new TextBox();
		grid.setWidget(0, 1, textBox);
	}
}
